<div class="post-title">
    <h2 class="align-center"><?= $this->category["name_".\Lib\Registry::get('trans')->getLocale()]; ?></h2>
</div>
<?php
foreach ($this->posts as $post){
    $this->renderPartial('Post/_post_mini.php', array('post' => (array)$post));
    echo "<hr>";
}
?>